home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / dtype / DT_Descriptors.lha / DT-Descriptors / ReadMe < prev    next >
Text File  |  1997-07-18  |  6KB  |  172 lines

  1. DT-Descriptors V1.0 (18-Jul-97)
  2. -------------------------------
  3. Written/Fixed by TetiSoft@apg.lahn.de (Detlef Wuerkner).
  4.  
  5. Sixteen bugfixed and eight new datatype descriptors (the files
  6. located in devs:datatypes/ used by AmigaDOS 3.x to determine the
  7. type of a file).
  8.  
  9.  
  10.  
  11. The directory "Desc_New"
  12. ------------------------
  13. contains eight new descriptors for cli.datatype: Arc, Arj, BinHex,
  14. Compress, Freeze, Rar, Stuffit and Zoo. See "Readme_New" for details.
  15.  
  16. The directorys "Hook_Source" and "Hook_Bin"
  17. -------------------------------------------
  18. contain sources and binarys of hook-functions described below.
  19. If you are not familiar with "dtdesc", then you don't need that :-)
  20.  
  21. The file cli.prefs
  22. ------------------
  23. is a sample Prefs-file for cli.datatype that contains the program calls
  24. for some of the descriptors in "Desc_Fixed" and all in "Desc_New". It
  25. also contains a list where the necessary programs can be found.
  26.  
  27.  
  28.  
  29.  
  30. The directory Desc_Fixed
  31. ------------------------
  32. contains sixteen bugfixed versions of datatype descriptors:
  33. ADPCM, Binary, GZIP, Lha, LZX, NRoff, PBM_P1, PBM_P4, PostScriptBIN,
  34. QRTV39, QRTV43, Sample Vision, Tar-GZip, TX16W, UUCoded and Zip.
  35. No icons are provided, you normally already have them :-)
  36.  
  37. To install, just copy each descriptor to devs:datatypes/ if the
  38. following is true for your system setup:
  39.  
  40. 1) You already have a descriptor and the matching icon in devs:datatypes
  41. 2) If the version of the corresponding datatype (Can be checked with e.g.
  42.    "Version SYS:classes/datatypes/cli.datatype") is higher than that
  43.    mentioned in the list below, it maybe possible that you "fix"
  44.    something that was already fixed. See the Readme that came with
  45.    the newer datatype in this case.
  46.  
  47.  
  48. List of fixes:
  49. --------------
  50.  
  51. Problem: File Type recognition does sometimes not work correct
  52.     with datatypes.library 40.6 (WB3.1).
  53.  
  54. Reason:    The docs for hook-functions in descriptors claim that
  55.     the file to check is guaranteed to be at the beginning,
  56.     some hook-function-authors (e.g. myself ;) counted on that.
  57.     In fact it may be in the middle :-(
  58.  
  59. Fix:    For QRT you can use the supplied replacements, which Seek()
  60.     to BOF (Begin-Of-File) first. Rename one of the QRT-descriptors
  61.     to "QRT" and do not use the other!
  62.     QRTV39 is for qrt.datatype 39.1, QRTV43 is for qrtV43.datatype 43.1.
  63.  
  64.     For MacPaint you can use my replacement
  65.     (Aminet util/dtype/MacPaint_DT.lha)
  66.  
  67. ------
  68.  
  69. Problem: Enforcer hits with ExamineDT(.rexx) and datatypes.library 45.3
  70.  
  71. Reason:    The descriptors for Binary, GZIP, Lha, LZX, NRoff, Tar-GZip and Zip
  72.     had NO entry in the "Group"-menu of dtdesc.
  73.  
  74. Fix:    Use supplied replacements, all changed to Group "System". They replace
  75.     the descriptors from cli.datatype 39.4 and binary.datatype 39.11.
  76.  
  77. ------
  78.  
  79. Problem: Endless loop with dtdescrlist from datatypes.library 45.3
  80.     distribution when HWGPOST.datatype 40.2 is installed.
  81.  
  82. Reason:    Double Filetype "PostScript"
  83.  
  84. Fix:    Use supplied replacement for PostScriptBIN descriptor of
  85.     HWGPOST.datatype 40.2, changed Filetype from "PostScript"
  86.     to "PostScriptBIN"
  87.  
  88. ------
  89.  
  90. Problem: Error message of AddDatatypes45.2 when pbm.datatype 43.10
  91.     is installed.
  92.  
  93. Reason:    "/" character in Filetype of PBM_P1 and PBM_P4.
  94.     (Note: The Readme in PictDT43-760.lha stated that the
  95.     PBM descriptors are modified to avoid problems with
  96.     v45 datatypes.library, but they are unchanged).
  97.  
  98. Fix:    Use supplied replacements for pbm.datatype 43.10,
  99.     changed Filetype in PBM_P1 from
  100.     "PBM Plus B/W" to "PBM Plus B&W" and in PBM_P4 from
  101.     "PBM Plus B/W Raw" to "PBM Plus B&W Raw".
  102.  
  103. ------
  104.  
  105. Problem: Files packed with gzip, lha, lzx and zip are only recognized
  106.     if they have the correct suffix (.lha etc).
  107.  
  108. Reason:    The descriptors supplied with cli.datatype 39.4 force the
  109.     suffix to be there.
  110.  
  111. Fix:    Use supplied replacements for cli.datatype 39.4, and make sure that
  112.     env:datatypes/cli.prefs contains the following options:
  113.     GZIP: -S ""
  114.     Lha: -X
  115.     LZX: -X0
  116.  
  117. ------
  118.  
  119. Problem: Not all files packed with zip are recognized as zipped.
  120.  
  121. Reason:    The descriptor for zip did test for too many bytes to match.
  122.  
  123. Fix:    Use supplied replacement for cli.datatype 39.4, it checks only the
  124.     first four bytes, as described in the /etc/magic files of NetBSD and ADE.
  125.  
  126. ------
  127.  
  128. Problem: Not all uuencoded files are recognized as such.
  129.  
  130. Reason:    The descriptor for UUCoded wanted an empty first line and the
  131.     "begin " in the second line.
  132.  
  133. Fix:    Use supplied replacement for cli.datatype 39.4, now a hook-function
  134.     searches the "begin " at the start of any line within the first 64 bytes
  135.     of the file. The source code and binary are provided.
  136.  
  137. ------
  138.  
  139. Changed Group of ADPCM descriptor replacement from Picture to Sound.
  140. This fixes adpcm.datatype 40.1.
  141.  
  142. Changed Group of SampleVison descriptor replacement from System to Sound.
  143. This fixes SampleVision.datatype 39.5.
  144.  
  145. Changed Group of TX16W descriptor replacement from System to Sound.
  146. This fixes TX16W.datatype 39.4.
  147.  
  148. The descriptors for NRoff and man are so similar that the man-descriptor
  149. would declare a NRoff-document as man-document, but not vice versa.
  150. To force the NRoff-descriptor to be used first, I raised it's priority
  151. from 0 to 1. Not sure if this was really necessary, if datatypes.library
  152. uses specific patterns before unspecific patterns or not. Did it just to
  153. be safe :-) This fixes cli.datatype 39.4.
  154.  
  155. ------
  156.  
  157. Problem: When using the descriptors for "Binary" and "ASCII" (htdsascii),
  158.     Enforcer hits occur when AddDataTypes 39.2 is running (it has
  159.     problems to redefine these pre-defined names).
  160.  
  161. Fix1:    Delete the descriptor "Binary", binary.datatype will be found
  162.     without it. This doesn't solve the "ASCII"-problem...
  163.  
  164. Fix2:    Use AddDatatypes Version 45.2 or higher from Aminet(util/sys).
  165.  
  166.  
  167. Please send me a mail if you found a bug not fixed in this release.
  168.  
  169. Happy datatyping,
  170.  
  171. TetiSoft@apg.lahn.de (Detlef Wuerkner)
  172.